<%= form_for @user_group, format: 'json', html: {class: 'form-horizontal', id: 'user_group_popover'} do |f| %>
    <fieldset>
    <div class="form-group">
      <%= f.label :name, class: 'col-lg-2 control-label' %>
      <div class="col-lg-7">
        <%= f.text_field :name, class: 'form-control' %>
      </div>
      <a href="javascript:void(0)" id="submit_user_group_popover" class="col-lg-2 btn btn-success">
        <i class="fa fa-check fa-lg"></i>
      </a>
    </div>
    </fieldset>
<% end %>